<?php include('ajax_config.php'); ?>
<?php
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */

    // select the database to use for the data retrieval
    mysql_select_db($database_config, $config);

    $rpc_id = -1;
    if( isset($_GET['id']) ) {
        $rpc_id = $_GET['id'];
    }

    $query_rpc = "SELECT * FROM section_page_content WHERE id = $rpc_id";
    $rpcResult = mysql_query($query_rpc, $config);
    $row_rpcResult = mysql_fetch_assoc($rpcResult);
?>

<div class="news_title"><?php echo $row_rpcResult['ContentTitle']; ?></div>
<div class="news_content"><?php echo $row_rpcResult['Content']; ?></div>

<?php
    mysql_free_result($rpcResult);
?>
